<?php
$tdatasales_order_size_breakup=array();
	$tdatasales_order_size_breakup[".NumberOfChars"]=80; 
	$tdatasales_order_size_breakup[".ShortName"]="sales_order_size_breakup";
	$tdatasales_order_size_breakup[".OwnerID"]="";
	$tdatasales_order_size_breakup[".OriginalTable"]="sales_order_size_breakup";


	
//	field labels
$fieldLabelssales_order_size_breakup = array();
if(mlang_getcurrentlang()=="English")
{
	$fieldLabelssales_order_size_breakup["English"]=array();
	$fieldToolTipssales_order_size_breakup["English"]=array();
	$fieldLabelssales_order_size_breakup["English"]["id"] = "Id";
	$fieldToolTipssales_order_size_breakup["English"]["id"] = "";
	$fieldLabelssales_order_size_breakup["English"]["sales_order_id"] = "Sales Order Id";
	$fieldToolTipssales_order_size_breakup["English"]["sales_order_id"] = "";
	$fieldLabelssales_order_size_breakup["English"]["sales_item_id"] = "Sales Item Id";
	$fieldToolTipssales_order_size_breakup["English"]["sales_item_id"] = "";
	$fieldLabelssales_order_size_breakup["English"]["specification_id"] = "Specification Id";
	$fieldToolTipssales_order_size_breakup["English"]["specification_id"] = "";
	$fieldLabelssales_order_size_breakup["English"]["quantity"] = "Quantity";
	$fieldToolTipssales_order_size_breakup["English"]["quantity"] = "";
	if (count($fieldToolTipssales_order_size_breakup["English"])){
		$tdatasales_order_size_breakup[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="Chinese (Hong Kong S.A.R.)")
{
	$fieldLabelssales_order_size_breakup["Chinese (Hong Kong S.A.R.)"]=array();
	$fieldToolTipssales_order_size_breakup["Chinese (Hong Kong S.A.R.)"]=array();
	if (count($fieldToolTipssales_order_size_breakup["Chinese (Hong Kong S.A.R.)"])){
		$tdatasales_order_size_breakup[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="Chinese (Taiwan)")
{
	$fieldLabelssales_order_size_breakup["Chinese (Taiwan)"]=array();
	$fieldToolTipssales_order_size_breakup["Chinese (Taiwan)"]=array();
	if (count($fieldToolTipssales_order_size_breakup["Chinese (Taiwan)"])){
		$tdatasales_order_size_breakup[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="French")
{
	$fieldLabelssales_order_size_breakup["French"]=array();
	$fieldToolTipssales_order_size_breakup["French"]=array();
	if (count($fieldToolTipssales_order_size_breakup["French"])){
		$tdatasales_order_size_breakup[".isUseToolTips"]=true;
	}
}


	
	$tdatasales_order_size_breakup[".NCSearch"]=true;

	

$tdatasales_order_size_breakup[".shortTableName"] = "sales_order_size_breakup";
$tdatasales_order_size_breakup[".nSecOptions"] = 0;
$tdatasales_order_size_breakup[".recsPerRowList"] = 1;	
$tdatasales_order_size_breakup[".tableGroupBy"] = "0";
$tdatasales_order_size_breakup[".mainTableOwnerID"] = "";
$tdatasales_order_size_breakup[".moveNext"] = 1;




$tdatasales_order_size_breakup[".showAddInPopup"] = false;

$tdatasales_order_size_breakup[".showEditInPopup"] = false;

$tdatasales_order_size_breakup[".showViewInPopup"] = false;


$tdatasales_order_size_breakup[".fieldsForRegister"] = array();

$tdatasales_order_size_breakup[".listAjax"] = false;

	$tdatasales_order_size_breakup[".audit"] = false;

	$tdatasales_order_size_breakup[".locking"] = false;
	
$tdatasales_order_size_breakup[".listIcons"] = true;
$tdatasales_order_size_breakup[".edit"] = true;
$tdatasales_order_size_breakup[".inlineEdit"] = true;
$tdatasales_order_size_breakup[".view"] = true;

$tdatasales_order_size_breakup[".exportTo"] = true;

$tdatasales_order_size_breakup[".printFriendly"] = true;

$tdatasales_order_size_breakup[".delete"] = true;

$tdatasales_order_size_breakup[".showSimpleSearchOptions"] = false;

$tdatasales_order_size_breakup[".showSearchPanel"] = true;


$tdatasales_order_size_breakup[".isUseAjaxSuggest"] = true;

$tdatasales_order_size_breakup[".rowHighlite"] = true;


// button handlers file names

$tdatasales_order_size_breakup[".addPageEvents"] = false;

$tdatasales_order_size_breakup[".arrKeyFields"][] = "id";

// use datepicker for search panel
$tdatasales_order_size_breakup[".isUseCalendarForSearch"] = false;

// use timepicker for search panel
$tdatasales_order_size_breakup[".isUseTimeForSearch"] = false;

$tdatasales_order_size_breakup[".isUseiBox"] = false;



$tdatasales_order_size_breakup[".isUseInlineAdd"] = true;

$tdatasales_order_size_breakup[".isUseInlineEdit"] = true;
$tdatasales_order_size_breakup[".isUseInlineJs"] = $tdatasales_order_size_breakup[".isUseInlineAdd"] || $tdatasales_order_size_breakup[".isUseInlineEdit"];

$tdatasales_order_size_breakup[".allSearchFields"] = array();

$tdatasales_order_size_breakup[".globSearchFields"][] = "id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("id", $tdatasales_order_size_breakup[".allSearchFields"]))
{
	$tdatasales_order_size_breakup[".allSearchFields"][] = "id";	
}
$tdatasales_order_size_breakup[".globSearchFields"][] = "sales_order_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("sales_order_id", $tdatasales_order_size_breakup[".allSearchFields"]))
{
	$tdatasales_order_size_breakup[".allSearchFields"][] = "sales_order_id";	
}
$tdatasales_order_size_breakup[".globSearchFields"][] = "sales_item_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("sales_item_id", $tdatasales_order_size_breakup[".allSearchFields"]))
{
	$tdatasales_order_size_breakup[".allSearchFields"][] = "sales_item_id";	
}
$tdatasales_order_size_breakup[".globSearchFields"][] = "specification_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("specification_id", $tdatasales_order_size_breakup[".allSearchFields"]))
{
	$tdatasales_order_size_breakup[".allSearchFields"][] = "specification_id";	
}
$tdatasales_order_size_breakup[".globSearchFields"][] = "quantity";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("quantity", $tdatasales_order_size_breakup[".allSearchFields"]))
{
	$tdatasales_order_size_breakup[".allSearchFields"][] = "quantity";	
}


$tdatasales_order_size_breakup[".googleLikeFields"][] = "id";
$tdatasales_order_size_breakup[".googleLikeFields"][] = "sales_order_id";
$tdatasales_order_size_breakup[".googleLikeFields"][] = "sales_item_id";
$tdatasales_order_size_breakup[".googleLikeFields"][] = "specification_id";
$tdatasales_order_size_breakup[".googleLikeFields"][] = "quantity";



$tdatasales_order_size_breakup[".advSearchFields"][] = "id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("id", $tdatasales_order_size_breakup[".allSearchFields"])) 
{
	$tdatasales_order_size_breakup[".allSearchFields"][] = "id";	
}
$tdatasales_order_size_breakup[".advSearchFields"][] = "sales_order_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("sales_order_id", $tdatasales_order_size_breakup[".allSearchFields"])) 
{
	$tdatasales_order_size_breakup[".allSearchFields"][] = "sales_order_id";	
}
$tdatasales_order_size_breakup[".advSearchFields"][] = "sales_item_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("sales_item_id", $tdatasales_order_size_breakup[".allSearchFields"])) 
{
	$tdatasales_order_size_breakup[".allSearchFields"][] = "sales_item_id";	
}
$tdatasales_order_size_breakup[".advSearchFields"][] = "specification_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("specification_id", $tdatasales_order_size_breakup[".allSearchFields"])) 
{
	$tdatasales_order_size_breakup[".allSearchFields"][] = "specification_id";	
}
$tdatasales_order_size_breakup[".advSearchFields"][] = "quantity";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("quantity", $tdatasales_order_size_breakup[".allSearchFields"])) 
{
	$tdatasales_order_size_breakup[".allSearchFields"][] = "quantity";	
}

$tdatasales_order_size_breakup[".isTableType"] = "list";


	

$tdatasales_order_size_breakup[".isDisplayLoading"] = true;

$tdatasales_order_size_breakup[".isResizeColumns"] = false;





$tdatasales_order_size_breakup[".pageSize"] = 20;

$gstrOrderBy = "";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy = "order by ".$gstrOrderBy;
$tdatasales_order_size_breakup[".strOrderBy"] = $gstrOrderBy;
	
$tdatasales_order_size_breakup[".orderindexes"] = array();

$tdatasales_order_size_breakup[".sqlHead"] = "SELECT id,   sales_order_id,   sales_item_id,   specification_id,   quantity";
$tdatasales_order_size_breakup[".sqlFrom"] = "FROM sales_order_size_breakup";
$tdatasales_order_size_breakup[".sqlWhereExpr"] = "";
$tdatasales_order_size_breakup[".sqlTail"] = "";




//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdatasales_order_size_breakup[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdatasales_order_size_breakup[".arrGroupsPerPage"] = $arrGPP;

	$tableKeys = array();
	$tableKeys[] = "id";
	$tdatasales_order_size_breakup[".Keys"] = $tableKeys;

//	id
	$fdata = array();
	$fdata["strName"] = "id";
	$fdata["ownerTable"] = "sales_order_size_breakup";
		$fdata["Label"]="Id"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "id";
	
		$fdata["FullName"]= "id";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 1;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatasales_order_size_breakup["id"]=$fdata;
//	sales_order_id
	$fdata = array();
	$fdata["strName"] = "sales_order_id";
	$fdata["ownerTable"] = "sales_order_size_breakup";
		$fdata["Label"]="Sales Order Id"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "sales_order_id";
	
		$fdata["FullName"]= "sales_order_id";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 2;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatasales_order_size_breakup["sales_order_id"]=$fdata;
//	sales_item_id
	$fdata = array();
	$fdata["strName"] = "sales_item_id";
	$fdata["ownerTable"] = "sales_order_size_breakup";
		$fdata["Label"]="Sales Item Id"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "sales_item_id";
	
		$fdata["FullName"]= "sales_item_id";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 3;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatasales_order_size_breakup["sales_item_id"]=$fdata;
//	specification_id
	$fdata = array();
	$fdata["strName"] = "specification_id";
	$fdata["ownerTable"] = "sales_order_size_breakup";
		$fdata["Label"]="Specification Id"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "specification_id";
	
		$fdata["FullName"]= "specification_id";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 4;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatasales_order_size_breakup["specification_id"]=$fdata;
//	quantity
	$fdata = array();
	$fdata["strName"] = "quantity";
	$fdata["ownerTable"] = "sales_order_size_breakup";
		$fdata["Label"]="Quantity"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "quantity";
	
		$fdata["FullName"]= "quantity";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 5;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatasales_order_size_breakup["quantity"]=$fdata;

	
$tables_data["sales_order_size_breakup"]=&$tdatasales_order_size_breakup;
$field_labels["sales_order_size_breakup"] = &$fieldLabelssales_order_size_breakup;
$fieldToolTips["sales_order_size_breakup"] = &$fieldToolTipssales_order_size_breakup;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["sales_order_size_breakup"] = array();

	
// tables which are master tables for current table (detail)
$masterTablesData["sales_order_size_breakup"] = array();

$mIndex = 1-1;
			$strOriginalDetailsTable="sales_order_items";
	$masterTablesData["sales_order_size_breakup"][$mIndex] = array(
		  "mDataSourceTable"=>"sales_order_items"
		, "mOriginalTable" => $strOriginalDetailsTable
		, "mShortTable" => "sales_order_items"
		, "masterKeys" => array()
		, "detailKeys" => array()
		, "dispChildCount" => "1"
		, "hideChild" => "1"	
		, "dispInfo" => "1"								
		, "previewOnList" => 1
		, "previewOnAdd" => 1
		, "previewOnEdit" => 1
		, "previewOnView" => 1
	);	
		$masterTablesData["sales_order_size_breakup"][$mIndex]["masterKeys"][]="sales_order_id";
		$masterTablesData["sales_order_size_breakup"][$mIndex]["masterKeys"][]="id";
		$masterTablesData["sales_order_size_breakup"][$mIndex]["detailKeys"][]="sales_order_id";
		$masterTablesData["sales_order_size_breakup"][$mIndex]["detailKeys"][]="sales_item_id";

$mIndex = 2-1;
			$strOriginalDetailsTable="size_breakup";
	$masterTablesData["sales_order_size_breakup"][$mIndex] = array(
		  "mDataSourceTable"=>"size_breakup"
		, "mOriginalTable" => $strOriginalDetailsTable
		, "mShortTable" => "size_breakup"
		, "masterKeys" => array()
		, "detailKeys" => array()
		, "dispChildCount" => "1"
		, "hideChild" => "0"	
		, "dispInfo" => "1"								
		, "previewOnList" => 1
		, "previewOnAdd" => 1
		, "previewOnEdit" => 1
		, "previewOnView" => 1
	);	
		$masterTablesData["sales_order_size_breakup"][$mIndex]["masterKeys"][]="id";
		$masterTablesData["sales_order_size_breakup"][$mIndex]["detailKeys"][]="specification_id";

// -----------------end  prepare master-details data arrays ------------------------------//

require_once(getabspath("classes/sql.php"));










$proto227=array();
$proto227["m_strHead"] = "SELECT";
$proto227["m_strFieldList"] = "id,   sales_order_id,   sales_item_id,   specification_id,   quantity";
$proto227["m_strFrom"] = "FROM sales_order_size_breakup";
$proto227["m_strWhere"] = "";
$proto227["m_strOrderBy"] = "";
$proto227["m_strTail"] = "";
$proto228=array();
$proto228["m_sql"] = "";
$proto228["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto228["m_column"]=$obj;
$proto228["m_contained"] = array();
$proto228["m_strCase"] = "";
$proto228["m_havingmode"] = "0";
$proto228["m_inBrackets"] = "0";
$proto228["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto228);

$proto227["m_where"] = $obj;
$proto230=array();
$proto230["m_sql"] = "";
$proto230["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto230["m_column"]=$obj;
$proto230["m_contained"] = array();
$proto230["m_strCase"] = "";
$proto230["m_havingmode"] = "0";
$proto230["m_inBrackets"] = "0";
$proto230["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto230);

$proto227["m_having"] = $obj;
$proto227["m_fieldlist"] = array();
						$proto232=array();
			$obj = new SQLField(array(
	"m_strName" => "id",
	"m_strTable" => "sales_order_size_breakup"
));

$proto232["m_expr"]=$obj;
$proto232["m_alias"] = "";
$obj = new SQLFieldListItem($proto232);

$proto227["m_fieldlist"][]=$obj;
						$proto234=array();
			$obj = new SQLField(array(
	"m_strName" => "sales_order_id",
	"m_strTable" => "sales_order_size_breakup"
));

$proto234["m_expr"]=$obj;
$proto234["m_alias"] = "";
$obj = new SQLFieldListItem($proto234);

$proto227["m_fieldlist"][]=$obj;
						$proto236=array();
			$obj = new SQLField(array(
	"m_strName" => "sales_item_id",
	"m_strTable" => "sales_order_size_breakup"
));

$proto236["m_expr"]=$obj;
$proto236["m_alias"] = "";
$obj = new SQLFieldListItem($proto236);

$proto227["m_fieldlist"][]=$obj;
						$proto238=array();
			$obj = new SQLField(array(
	"m_strName" => "specification_id",
	"m_strTable" => "sales_order_size_breakup"
));

$proto238["m_expr"]=$obj;
$proto238["m_alias"] = "";
$obj = new SQLFieldListItem($proto238);

$proto227["m_fieldlist"][]=$obj;
						$proto240=array();
			$obj = new SQLField(array(
	"m_strName" => "quantity",
	"m_strTable" => "sales_order_size_breakup"
));

$proto240["m_expr"]=$obj;
$proto240["m_alias"] = "";
$obj = new SQLFieldListItem($proto240);

$proto227["m_fieldlist"][]=$obj;
$proto227["m_fromlist"] = array();
												$proto242=array();
$proto242["m_link"] = "SQLL_MAIN";
			$proto243=array();
$proto243["m_strName"] = "sales_order_size_breakup";
$proto243["m_columns"] = array();
$proto243["m_columns"][] = "id";
$proto243["m_columns"][] = "sales_order_id";
$proto243["m_columns"][] = "sales_item_id";
$proto243["m_columns"][] = "specification_id";
$proto243["m_columns"][] = "quantity";
$obj = new SQLTable($proto243);

$proto242["m_table"] = $obj;
$proto242["m_alias"] = "";
$proto244=array();
$proto244["m_sql"] = "";
$proto244["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto244["m_column"]=$obj;
$proto244["m_contained"] = array();
$proto244["m_strCase"] = "";
$proto244["m_havingmode"] = "0";
$proto244["m_inBrackets"] = "0";
$proto244["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto244);

$proto242["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto242);

$proto227["m_fromlist"][]=$obj;
$proto227["m_groupby"] = array();
$proto227["m_orderby"] = array();
$obj = new SQLQuery($proto227);

$queryData_sales_order_size_breakup = $obj;
$tdatasales_order_size_breakup[".sqlquery"] = $queryData_sales_order_size_breakup;

$tableEvents["sales_order_size_breakup"] = new eventsBase;

?>
